package com.myway.dao;

import com.myway.pojo.TabQuestionAnswer;
import com.myway.pojo.TabQuestionAnswerExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TabQuestionAnswerMapper {
    int countByExample(TabQuestionAnswerExample example);

    int deleteByExample(TabQuestionAnswerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TabQuestionAnswer record);

    int insertSelective(TabQuestionAnswer record);

    List<TabQuestionAnswer> selectByExample(TabQuestionAnswerExample example);

    TabQuestionAnswer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TabQuestionAnswer record, @Param("example") TabQuestionAnswerExample example);

    int updateByExample(@Param("record") TabQuestionAnswer record, @Param("example") TabQuestionAnswerExample example);

    int updateByPrimaryKeySelective(TabQuestionAnswer record);

    int updateByPrimaryKey(TabQuestionAnswer record);
}